package com.ocom.payconfig.service;

import com.baomidou.mybatisplus.extension.service.IService;
import com.ocom.common.entity.card.EntityXfGoodsListProcess;
import com.ocom.common.vo.payconfig.MealDateSummaryVo;

import java.util.Date;
import java.util.List;

public interface XfGoodsListProcessService extends IService<EntityXfGoodsListProcess> {

    public Boolean addXfGoodsListProcessList(Long companyId, List<EntityXfGoodsListProcess> list);


     List<EntityXfGoodsListProcess> getXfGoodsList(Long companyId, String orderNo);
     List<EntityXfGoodsListProcess> getXfGoodsList(Long companyId, EntityXfGoodsListProcess entityXfGoodsListProcess, Date beginTime, Date endTime);


     Boolean refund(Long companyId, String orderNo);

    Boolean refund(Long companyId, String orderNo,List<Integer> dishIds);

    public List<MealDateSummaryVo> mealDateSummary(Long companyId,
                                                   Integer pointId,
                                                   List<Integer> mealNos,
                                                   String beginDate,
                                                   String endDate);

    Boolean updateById(Long comId,EntityXfGoodsListProcess entityXfGoodsListProcess);
}
